<%--
  Created by IntelliJ IDEA.
  User: 乔见东方姑娘
  Date: 2023/9/15
  Time: 16:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>Title</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap-theme.min.css" integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="/css/layui.css" tppabs="/css/layui.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<h1>在这里实现新增学生信息功能</h1>
<div class="row">
    <div class="col-md-4"></div>
    <div class="col-md-4">
        <div id="addStu">
            <form action="/doAddStudent" method="post">
                <div class="form-group">
                    <label for="studentName">学生名字</label>
                    <input type="text" class="form-control" id="studentName" name="sname" placeholder="学生姓名">
                </div>
                <div class="form-group">
                    <label>性别</label>
                    <div class="layui-form-item">
                        <h3>
                            <div class="layui-input-block">
                                男
                                <input type="radio" name="sex" value="男" title="男" checked="">
                                女
                                <input type="radio" name="sex" value="女" title="女">
                            </div>
                        </h3>

                    </div>
                </div>
                <div class="form-group">
                    <label for="address">地址</label>
                    <input type="text" class="form-control" id="address" name="address" placeholder="地址">
                </div>
                <button type="submit" class="btn btn-default">新增</button>
            </form>
        </div>
    </div>
    <div class="col-md-4"></div>
</div>

</body>
</html>

